package com.coolzeng.dao;

import com.coolzeng.entity.Post;

import java.util.List;

public interface PostMapper {
    int deleteByPrimaryKey(Integer postid);

    int insert(Post record);

    int insertSelective(Post record);

    Post selectByPrimaryKey(Integer postid);

    int updateByPrimaryKeySelective(Post record);

    int updateByPrimaryKey(Post record);

    List <Post> selectAllPost();

    int selectpostCount();
}